package com.ll.SchoolSafe.Dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ll.SchoolSafe.pojo.Classes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ClassDao extends BaseMapper<Classes> {
    @Select("SELECT * from class")
    List<Classes> getAllClass();
}
